// 统一处理路由
const Router = require('koa-router')
const user = require('./userRouter')
const wechat = require('./weChatRouter')
let router = new Router()
router.use('/api/user', user.routes(), user.allowedMethods())
router.use('/api/wechat', wechat.routes(), wechat.allowedMethods())
module.exports = router